#ifndef FIELDBUILDER_H
#define FIELDBUILDER_H

#include <QSharedPointer>
#include <QGraphicsItem>
#include <QPoint>
#include "Field.h"

class FieldBuilder
{
protected:

	void addCell(Field *field, const QPoint& cell);
	void addBall(Field *field, const QPoint& cell, QSharedPointer<QGraphicsObject> ball);
	void clearCell(Field *field, const QPoint& cell);

public:
	virtual QSharedPointer<Field> createField() = 0;
};

#endif // FIELDBUILDER_H
